import request from '@/utils/request'
import { queryChannelPriceInfo, optOneByOnePrice, optUniformPrice } from '../apis'

export function queryChannelPrice(data) {
  return request({
    url: queryChannelPriceInfo,
    method: 'get',
    params: data
  })
}

export function updateOneByOnePrice(data) {
  return request({
    url: optOneByOnePrice,
    method: 'post',
    data
  })
}

export function updateUniformPrice(data) {
  return request({
    url: optUniformPrice,
    method: 'post',
    data
  })
}
